home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000051_icon-group-sender _Tue Feb 20 15:13:15 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Tue, 20 Feb 1996 17:50:39 MST
  2. Date: Tue, 20 Feb 1996 15:13:15 -0800
  3. From: kwalker@orville.premenos.com (Ken Walker)
  4. Message-Id: <199602202313.PAA22713@varda.premenos.com>
  5. To: icon-group@cs.arizona.edu
  6. Subject: Re: procedure names
  7. Mime-Version: 1.0
  8. Content-Type: text/plain; charset=us-ascii
  9. Content-Transfer-Encoding: 7bit
  10. Content-Md5: 23afWjlx3XjXsqNJ0X26qg==
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: O
  13.  
  14. You can determine procedure names by using the display() function to
  15. write information about variables to a file. You can then read the
  16. file back in and look for global variables with procedure values. String
  17. scanning makes it pretty easy to parse the file.
  18.  
  19. Ken Walker, kwalker@premenos.com
  20. Premenos Coporation, Concord, Ca. 94520
  21.  
  22. > Date: Fri, 16 Feb 96 16:25:36 CST
  23. > From: escargo@anubis.network.com (David S. Cargo)
  24. > Is there any way for a program to find out the names of procedures that
  25. > are in the program?  I'm thinking about measuring test-coverage by
  26. > determining if a procedure has been called or not.  I'd like to use the
  27. > preprocessor to either insert a prodecure name in a set or increment a
  28. > counter in a table when a procedure is called.  While this can mark
  29. > when procedures are called, it can't tell when a procedure is not
  30. > called.  This would be something like tcl's "info procs" command.
  31. > Examining the .u1, .u2, or .icx files might be acceptable, but I'd
  32. > like a source-level solution.
  33.  
  34.